# cmake最低需要的版本
cmake_minimum_required(VERSION 3.0)

# 命名的工程名字
project(SearchEngine)

# 配置编译选项
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")


# 配置头文件的搜索路径
# include_directories(${PROJECT_SOURCE_DIR}/include/online/CacheSystem)
# include_directories(${PROJECT_SOURCE_DIR}/include/online/Reactor)
# include_directories(${PROJECT_SOURCE_DIR}/include/online/RecommendWords)
# include_directories(${PROJECT_SOURCE_DIR}/include/online/server)
# include_directories(${PROJECT_SOURCE_DIR}/include/online/Tools)
# include_directories(${PROJECT_SOURCE_DIR}/include/online/WebPageQuery)


# 加载子目录
add_subdirectory(src)
add_subdirectory(client)
